package com.atguigu.gulimall.member.feign;


import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 声明式的远程调用
 */
@FeignClient("gulimall-coupon")//远程调用服务名
public interface CouponFeignService {

    //声明接口调用的远程服务的具体方法
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
